package com.wtoip.core.vo;

import java.io.Serializable;

/**
 * 分页参数实体类
 * @author sea
 *
 */
public class Page implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//当前页码 
	private Integer page;
	//单页条数
	private Integer length;
	
	@SuppressWarnings("unused")
	private Integer index;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getIndex() {
		return (page - 1) * length;
	}
	/**/
}
